home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0179-¿ Titled Gridviews -Oct89 < prev    next >
Encoding:
Text File  |  1989-10-25  |  1.8 KB  |  52 lines  |  [TEXT/GEOL]

  1. Item    3077259                         25-Oct-89        18:05
  2.  
  3. From:   D2765                           Brainchild, E Corbett, S Rome,PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    ¿ Titled Gridviews ?
  8.  
  9.  
  10.  
  11. Hi !
  12.  
  13.  
  14. My application calls for a gridview that's five columns wide (wider than the
  15. small screens) and an indeterminate number of rows tall, scrollable both
  16. horizontally and vertically.
  17.  
  18. The only catch is that the columns require headings.  I don't want the column
  19. titles to disappear when the user scrolls vertically, but I do want them to
  20. scroll horizontally with the columns.
  21.  
  22. i.e.
  23.  
  24.     Title1      Title2       Title3      Title4       Title5
  25. --------------------------------------------------------------
  26.     cell11   |   cell12   |   cell13   |   cell14   |   cell15
  27.     cell21   |   cell22   |   cell23   |   cell24   |   cell25
  28.     cell31   |   cell32   |   cell33   |   cell34   |   cell35
  29.  
  30. I need the region below the dashed line to scroll both h and v, but the title
  31. region should scroll only horizontally (in synch with the columns).
  32.  
  33. Additionally, I'd like the columns to be adorned even when there are no data
  34. rows.  Adornments through GridView's cells won't help me, because they only
  35. adorn themselves if they exist.  If I have zero rows, I get zero adornment.  If
  36. I put in a bunch of empty rows, my scrollbars come on, confusing the user since
  37. there's only empty space to scroll around in (no data).
  38.  
  39. It strikes me that gridviews with titled, adorned columns that behave this way
  40. are probably an extremely common use of gridviews, and someone's probably
  41. addressed this already.  I've been playing with two overlapping scrollers, but
  42. this is clearly Not The Way.
  43.  
  44. Any hints or suggestions of a better way would be sincerely appreciated.
  45.  
  46. Thanks,
  47.  
  48. Sean Rome
  49. Brainchild
  50. 
  51.  
  52.